/*
* $Id: Components.h 2 2009-12-23 13:58:02Z volok-aleksej@yandex.ru $
*
* Copyright 2008-2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _COMPONENTS_H_
#define _COMPONENTS_H_

#include "Component.h"
#include "Journal/JournalInterface.h"

class CSettingsComponent : public CComponent
{
public:
	CSettingsComponent();
	virtual ~CSettingsComponent();

	virtual void Free();
};

class CJournalComponent : public CComponent
{
	std::vector<IJournalView*> m_aJournalView;
public:
	CJournalComponent();
	virtual ~CJournalComponent();
public:
	std::vector<std::tstring> GetStyleNames();
	IJournalView* GetView(const std::tstring& strStyleName);
	virtual void Free();
};

#endif /*_COMPONENTS_H_*/